import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from "react-redux";
import { createStore } from "redux";

import reducers from './reducers';
import './index.css';
import App from './components/App';
import registerServiceWorker from './registerServiceWorker';

const store = createStore(reducers);
const rootDom = document.getElementById('root');


ReactDOM.render(
	<div>
		<Provider store={store}>
			<App />
		</Provider>
	</div>, 
	rootDom
);
registerServiceWorker();
